package com.purchase.manage.damian;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 询价表
 * </p>
 *
 * @author chuan
 * @since 2023-07-06
 */
@Data
@TableName("order_quotation")
public class OrderQuotation implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 询价ID
     */
    @TableId(value = "quotation_id", type = IdType.AUTO)
    private Integer quotationId;

    /**
     * 报价单位名称
     */
    private String venderName;

    private String quotationOrderNumber;

    /**
     * 供应商联系人
     */
    private String venderLinker;

    /**
     * 供应商电话
     */
    private Integer venderPhone;

    /**
     * 供应商邮箱
     */
    private String venderEmail;

    /**
     * 供应商地址
     */
    private String venderAddress;

    /**
     * 供应商ID
     */
    private Integer supplierId=1;

    /**
     * 发布所在订单ID
     */
    private Integer orderId=1;

    /**
     * 备注
     */
    private String remark;

    /**
     * 含税总价格
     */
    private BigDecimal priceIncludingTax;

    /**
     * 交货时间
     */
    private Date deliveryTime;

    /**
     * 质保时间
     */
    private Date warranty;

    /**
     * 报价时间
     */
    private Date quotationDate;

    /**
     * 审核状态
     */
    private int status=0;
    private String type="暂定";

    /**
     * 报价单副本图片地址
     */
    private String quotationCopyPhoto="地址";


    @Override
    public String toString() {
        return "OrderQuotation{" +
                "quotationId=" + quotationId +
                ", venderName='" + venderName + '\'' +
                ", quotationOrderNumber=" + quotationOrderNumber +
                ", venderLinker='" + venderLinker + '\'' +
                ", venderPhone=" + venderPhone +
                ", venderEmail='" + venderEmail + '\'' +
                ", venderAddress='" + venderAddress + '\'' +
                ", supplierId=" + supplierId +
                ", orderId=" + orderId +
                ", remark='" + remark + '\'' +
                ", priceIncludingTax=" + priceIncludingTax +
                ", deliveryTime='" + deliveryTime + '\'' +
                ", warranty='" + warranty + '\'' +
                ", quotationDate='" + quotationDate + '\'' +
                ", status=" + status +
                ", quotationCopyPhoto='" + quotationCopyPhoto + '\'' +
                '}';
    }
}
